package cate.common.table.activity.cutstone.sheet;

import cate.common.table.ESheet;
import cate.common.table.activity.cutstone.row.RewardNumRow;

public class RewardNumSheet extends ESheet<RewardNumRow> {
    @Override
    public String getSheetName() {
        return "奖励数量";
    }

    public RewardNumRow getRowByQuality(int quality) {
        for (RewardNumRow row :
                getList()) {
            if (row.quality == quality) {
                return row;
            }
        }
        return null;
    }
}
